const execute = [
  {
    path: "/app/palletbindding",
    name: "palletbindding",
    component: resolve => require(["../components/page/execute/palletbindding/palletbindding.vue"], resolve),
    meta: { title: "ex.bindtp", flag: false }
  },
  {
    path: "/palletbinddingDeawer",
    name: "palletbinddingDeawer",
    component: resolve => require(["../components/page/execute/palletbindding/deawer/Deawer.vue"], resolve),
    meta: { title: "ex.bindtp", flag: true }
  },

  {
    path: "/app/taskdetail",
    name: "taskdetail",
    component: resolve => require(["../components/page/execute/taskdetail/taskdetail.vue"], resolve),
    meta: { title: "home.task", flag: false }
  },
  {
    path: "/taskdetailDeawer",
    name: "taskdetailDeawer",
    component: resolve => require(["../components/page/execute/taskdetail/deawer/Deawer.vue"], resolve),
    meta: { title: "home.task", flag: true }
  },

  {
    path: "/app/papertaskdetail",
    name: "papertaskdetail",
    component: resolve => require(["../components/page/execute/papertaskdetail/papertaskdetail.vue"], resolve),
    meta: { title: "router.papertaskdetail", flag: false }
  },

  {
    path: "/app/vibdetail",
    name: "vibdetail",
    component: resolve => require(["../components/page/execute/vibdetail/vibdetail.vue"], resolve),
    meta: { title: "router.vibdetail", flag: false }
  },
  {
    path: "/app/inventorySearch",
    name: "inventorySearch",
    component: resolve => require(["../components/page/execute/inventory/inventory.vue"], resolve),
    meta: { title: "ex.inventoryQuery", flag: false },
    children: [
      {
        path: "/invSernumInventoryDeawer",
        name: "invSernumInventoryDeawer",
        component: (resolve) => require(["../components/page/execute/inventory/detailsList/DetailList.vue"], resolve),
        meta: { title: "ex.serialInfo", flag: true },
      },
    ],
  },
  {
    path: "/app/itrn",
    name: "itrn",
    component: resolve => require(["../components/page/execute/itrn/itrn.vue"], resolve),
    meta: { title: "bill.transaction", flag: false }
  },
  {
    path: "/itrnDeawer",
    name: "itrnDeawer",
    component: resolve => require(["../components/page/execute/itrn/deawer/Deawer.vue"], resolve),
    meta: { title: "bill.transaction", flag: true }
  },

  {
    path: "/app/move",
    name: "move",
    component: resolve => require(["../components/page/execute/move/move.vue"], resolve),
    meta: { title: "router.move", flag: false }
  },
  {
    path: "/moveDeawer",
    name: "moveDeawer",
    component: resolve => require(["../components/page/execute/move/deawer/Deawer.vue"], resolve),
    meta: { title: "router.move", flag: true }
  },

  {
    path: "/app/adjustment/list",
    name: "adjustment",
    component: resolve => require(["../components/page/execute/adjustment/adjustment.vue"], resolve),
    meta: { title: "ex.adjustment", flag: false }
  },
  {
    path: "/adjustmentDeawer",
    name: "adjustmentDeawer",
    component: resolve => require(["../components/page/execute/adjustment/deawer/Deawer.vue"], resolve),
    meta: { title: "ex.adjustment", flag: false }
  },

  {
    path: "/app/inventoryhold",
    name: "inventoryhold",
    component: resolve => require(["../components/page/execute/inventoryhold/inventoryhold.vue"], resolve),
    meta: { title: "ex.inventoryhold", flag: false }
  },
  {
    path: "/inventoryholdDeawer",
    name: "inventoryholdDeawer",
    component: resolve => require(["../components/page/execute/inventoryhold/deawer/Deawer.vue"], resolve),
    meta: { title: "ex.inventoryhold", flag: true }
  },

  {
    path: "/app/internaltransfer",
    name: "internaltransfer",
    component: resolve => require(["../components/page/execute/internaltransfer/internaltransfer.vue"], resolve),
    meta: { title: "ex.batchintertransition", flag: false }
  },

  {
    path: "/app/taskAllocRelease",
    name: "taskAllocRelease",
    component: resolve => require(["../components/page/execute/taskAllocRelease/taskAllocRelease.vue"], resolve),
    meta: { title: "out.taskrelease", flag: false,noClear: true},
    children: [
      {
        path: "/taskAllocReleaseDetail",
        name: "taskAllocReleaseDetail",
        component: resolve => require(["../components/page/execute/taskAllocRelease/deawer/Deawer.vue"], resolve),
        meta: { title: "out.taskrelease", flag: true }
      },
    ]
  },
  {
    path: "/app/taskPriority",
    name: "taskPriority",
    component: resolve => require(["../components/page/execute/taskPriority/taskPriority.vue"], resolve),
    meta: { title: "ex.taskpriority", flag: false }
  },

  {
    path: "/app/taskArticficialSche",
    name: "taskArticficialSche",
    component: resolve => require(["../components/page/execute/taskArticficialSche/taskArticficialSche.vue"], resolve),
    meta: { title: "ex.taskarticficial", flag: false }
  },

  {
    path: "/app/qtyreplenish/list",
    name: "qtyreplenish",
    component: resolve => require(["../components/page/execute/qtyreplenish/qtyreplenish.vue"], resolve),
    meta: { title: "ex.qtyreplenish", flag: false }
  },
  {
    path: "/qtyreplenishDeawer",
    name: "qtyreplenishDeawer",
    component: resolve => require(["../components/page/execute/qtyreplenish/deawer/Deawer.vue"], resolve),
    meta: { title: "ex.qtyreplenish", flag: true }
  },

  {
    path: "/app/queryreplenish/list",
    name: "queryreplenish",
    component: resolve => require(["../components/page/execute/qtyreplenish/queryreplenish.vue"], resolve),
    meta: { title: "common.check", flag: false }
  },
  {
    path: "/app/bhclQuery/list",
    name: "bhclQuery",
    component: resolve => require(["../components/page/execute/bhclQuery/bhclQuery.vue"], resolve),
    meta: { title: "ex.strategycode1", flag: false }
  },
  {
    path: "/bhclQueryDeawer",
    name: "bhclQueryDeawer",
    component: resolve => require(["../components/page/execute/bhclQuery/deawer/Deawer.vue"], resolve),
    meta: { title: "ex.strategycode1", flag: true }
  },
  {
    path: "/app/taskForce/list",
    name: "taskForce",
    component: resolve => require(["../components/page/execute/taskForce/taskForce.vue"], resolve),
    meta: { title: "ex.taskgroup", flag: false }
  },
  {
    path: "/app/bhrwscQuery/list",
    name: "bhrwscQuery",
    component: resolve => require(["../components/page/execute/bhrwscQuery/bhrwscQuery.vue"], resolve),
    meta: { title: "router.bhrwscQuery", flag: false }
  },

  {
    path: "/app/PaperOrderPick",
    name: "PaperOrderPick",
    component: resolve => require(["../components/page/execute/PaperOrderPick/PaperOrderPick.vue"], resolve),
    meta: { title: "router.PaperOrderPick", flag: false, keepflag: true }
  },
  {
    path: "/PaperOrderPickS1",
    name: "PaperOrderPickS1",
    component: resolve => require(["../components/page/execute/PaperOrderPick/deawer/Deawer.vue"], resolve),
    meta: { title: "router.PaperOrderPick", flag: true }
  },
  {
    path: "/papertaskdetailDeawer",
    name: "papertaskdetailDeawer",
    component: resolve => require(["../components/page/execute/PaperOrderPick/detailsList/page/deawer/Deawer.vue"], resolve),
    meta: { title: "router.papertaskdetail", flag: true }
  },
  {
    path: "/app/interior",
    name: "interior",
    component: resolve => require(["../components/page/execute/interior/interior.vue"], resolve),
    meta: { title: "ex.intertransition", flag: false }
  },
  {
    path: "/interiorDeawer",
    name: "interiorDeawer",
    component: resolve => require(["../components/page/execute/interior/deawer/Deawer.vue"], resolve),
    meta: { title: "ex.intertransition", flag: true }
  },
  {
    path: "/app/invSernumRecord",
    name: "invSernumRecord",
    component: resolve => require(["../components/page/execute/invSernumRecord/invSernumRecord.vue"], resolve),
    meta: { title: "ex.invSernumRecord", flag: false },
  },
  {
    path: "/app/invSernumInventory",
    name: "invSernumInventory",
    component: resolve => require(["../components/page/execute/invSernumInventory/invSernumInventory.vue"], resolve),
    meta: { title: "ex.invSernumInventory", flag: false },
  },
  {
    path: "/app/invSernumTransaction",
    name: "invSernumTransaction",
    component: resolve => require(["../components/page/execute/invSernumTransaction/invSernumTransaction.vue"], resolve),
    meta: { title: "ex.invSernumTransaction", flag: false },
  },
  {
    path: "/app/invSernumInventoryDifference",
    name: "invSernumInventoryDifference",
    component: resolve => require(["../components/page/execute/invSernumInventoryDifference/invSernumInventoryDifference.vue"], resolve),
    meta: { title: "ex.invSernumInventoryDifference", flag: false, noClear: true },
    children: [
      {
        path: "/invSNInventoryDifferenceDeawer",
        name: "invSNInventoryDifferenceDeawer",
        component: (resolve) => require(["../components/page/execute/invSernumInventoryDifference/deawer/Deawer.vue"], resolve),
        meta: { title: "ex.invSernumInventoryCheck", flag: true },
      },
    ],
  },
  {
    path: "/app/dispatchList",
    name: "dispatchList",
    component: resolve => require(["../components/page/execute/dispatch/index.vue"], resolve),
    meta: { title: "home1.dispatchList", flag: false },
  },
  {
    path: "/app/dispatchDetail",
    name: "dispatchDetail",
    component: resolve => require(["../components/page/execute/dispatch/deawer/Deawer.vue"], resolve),
    meta: { title: "home1.dispatchList", flag: false },
  },
  //pfep
  {
    path: "/app/pfep",
    name: "pfep",
    component: resolve => require(["../components/page/execute/pfep/index.vue"], resolve),
    meta: { title: "pfep", flag: false },
  },
  {
    path: "/app/pfepDetail",
    name: "pfepDetail",
    component: resolve => require(["../components/page/execute/pfep/deawer/Deawer.vue"], resolve),
    meta: { title: "pfep", flag: false },
  },
  // 配送中心库存表
  {
    path: "/DcDeliveryInventory",
    name: "DcDeliveryInventory",
    component: (resolve) =>
        require(["../components/page/execute/dispatch/DcDeliveryInventory/dcDeliveryInventory.vue"], resolve),
    meta: {title: "home1.distributionCenterInventory", flag: false},
  },
  //-----------------------------------------
  {
    path: "/app/capacity",
    name: "capacitySearch",
    component: resolve => require(["../components/page/execute/capacity/inventory.vue"], resolve),
    meta: { title: "库容查询", flag: false }
  },
  {
    path: "/app/optimize",
    name: "optimize",
    component: resolve => require(["../components/page/execute/optimize/index.vue"], resolve),
    meta: { title: "仓储资源优化", flag: false },
  },
  {
    path: "/app/warning",
    name: "warning",
    component: resolve => require(["../components/page/execute/warning/index.vue"], resolve),
    meta: { title: "库容预警分析", flag: false },
  },
];
export default execute;
